<template>
  <div id="checked-button">
    <img src="~@/assets/img/cart/tick.svg" alt="" :class="{isChecked:isChecked}">
  </div>
</template>

<script>
  export default {
    name: "CheckedButton",
    props:{
     isChecked:{
       type:Boolean,
       default:false
     }
    },
  }
</script>

<style scoped>
  img{
    border-radius: 50%;
    margin-right: 5px;
    margin-top: 10px;
    border: 2px solid darkgray;
  }
  .isChecked{
    border: 2px solid #ff5777;
    background-color: #ff5777;
  }

</style>